package com.woniuxy.propertyjava.service;

import com.woniuxy.propertyjava.entity.BuyMedicines;
import com.woniuxy.propertyjava.entity.PageBean;
import com.woniuxy.propertyjava.entity.Registered;

public interface BuyMedicinesService {

    //根据id查数据
    BuyMedicines getqueryById(Integer bmid);

    //分页查询
    PageBean<BuyMedicines> getqueryAllMedicines(BuyMedicines buyMedicines,int pageIndex, int pageSize);

    //新增一条数据
    void getinsert(BuyMedicines buyMedicines);

    //通过主键删除数据
    void getdeleteById(Integer bmid);

    //修改数据
    void getupdate(BuyMedicines buyMedicines);

}
